﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using FwProject.Keyword.Dto;
using FwProject.ShopApplication;
using X.PagedList;

namespace FwProject.Keyword
{
    public interface IKeywordAppService: IApplicationService
    {
        Task<Guid> Create(KeywordInput input);

        Task Edit(Guid id, KeywordInput input);

        Task EditisActive(Guid id, bool active);

        Task Delete(Guid id);

        Task<KeywordDto> GetByIdAsync(Guid id);

        Task<List<KeywordAppDto>> GetSearchAppKeyWord(int page, int pageSize);

        Task<List<KeywordAppDto>> GetPagedListKeyWordAsync(int page, int limit, string keyword);

        KeywordAppDto GetByIdAppKeyWord(Guid id);
        Task<LayerDataBaseDto> GetPagedListAsync(int page, int limit, string keyword);

        KeywordAppDto GetDeleteByIdAppKeyWord(Guid id);
    }
}
